3.111 \(\int \frac{x^2}{\cosh ^{-1}(a x)^{7/2}} \, dx\)

Optimal. Leaf size=237 \[ \frac{\sqrt{\pi } \text{Erf}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac{3 \sqrt{3 \pi } \text{Erf}\left (\sqrt{3} \sqrt{\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac{\sqrt{\pi } \text{Erfi}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac{3 \sqrt{3 \pi } \text{Erfi}\left (\sqrt{3} \sqrt{\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac{8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}+\frac{16 \sqrt{a x-1} \sqrt{a x+1}}{15 a^3 \sqrt{\cosh ^{-1}(a x)}}-\frac{4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}-\frac{24 x^2 \sqrt{a x-1} \sqrt{a x+1}}{5 a \sqrt{\cosh ^{-1}(a x)}}-\frac{2 x^2 \sqrt{a x-1} \sqrt{a x+1}}{5 a \cosh ^{-1}(a x)^{5/2}} \]

[Out]

(-2*x^2*Sqrt[-1 + a*x]*Sqrt[1 + a*x])/(5*a*ArcCosh[a*x]^(5/2)) + (8*x)/(15*a^2*ArcCosh[a*x]^(3/2)) - (4*x^3)/(
5*ArcCosh[a*x]^(3/2)) + (16*Sqrt[-1 + a*x]*Sqrt[1 + a*x])/(15*a^3*Sqrt[ArcCosh[a*x]]) - (24*x^2*Sqrt[-1 + a*x]
*Sqrt[1 + a*x])/(5*a*Sqrt[ArcCosh[a*x]]) + (Sqrt[Pi]*Erf[Sqrt[ArcCosh[a*x]]])/(15*a^3) + (3*Sqrt[3*Pi]*Erf[Sqr
t[3]*Sqrt[ArcCosh[a*x]]])/(5*a^3) + (Sqrt[Pi]*Erfi[Sqrt[ArcCosh[a*x]]])/(15*a^3) + (3*Sqrt[3*Pi]*Erfi[Sqrt[3]*
Sqrt[ArcCosh[a*x]]])/(5*a^3)

________________________________________________________________________________________

Rubi [A]  time = 0.847696, antiderivative size = 237, normalized size of antiderivative = 1., number of steps used = 22, number of rules used = 9, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.75, Rules used = {5668, 5775, 5666, 3307, 2180, 2204, 2205, 5656, 5781} \[ \frac{\sqrt{\pi } \text{Erf}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac{3 \sqrt{3 \pi } \text{Erf}\left (\sqrt{3} \sqrt{\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac{\sqrt{\pi } \text{Erfi}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac{3 \sqrt{3 \pi } \text{Erfi}\left (\sqrt{3} \sqrt{\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac{8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}+\frac{16 \sqrt{a x-1} \sqrt{a x+1}}{15 a^3 \sqrt{\cosh ^{-1}(a x)}}-\frac{4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}-\frac{24 x^2 \sqrt{a x-1} \sqrt{a x+1}}{5 a \sqrt{\cosh ^{-1}(a x)}}-\frac{2 x^2 \sqrt{a x-1} \sqrt{a x+1}}{5 a \cosh ^{-1}(a x)^{5/2}} \]

Antiderivative was successfully verified.

[In]

Int[x^2/ArcCosh[a*x]^(7/2),x]

[Out]

(-2*x^2*Sqrt[-1 + a*x]*Sqrt[1 + a*x])/(5*a*ArcCosh[a*x]^(5/2)) + (8*x)/(15*a^2*ArcCosh[a*x]^(3/2)) - (4*x^3)/(
5*ArcCosh[a*x]^(3/2)) + (16*Sqrt[-1 + a*x]*Sqrt[1 + a*x])/(15*a^3*Sqrt[ArcCosh[a*x]]) - (24*x^2*Sqrt[-1 + a*x]
*Sqrt[1 + a*x])/(5*a*Sqrt[ArcCosh[a*x]]) + (Sqrt[Pi]*Erf[Sqrt[ArcCosh[a*x]]])/(15*a^3) + (3*Sqrt[3*Pi]*Erf[Sqr
t[3]*Sqrt[ArcCosh[a*x]]])/(5*a^3) + (Sqrt[Pi]*Erfi[Sqrt[ArcCosh[a*x]]])/(15*a^3) + (3*Sqrt[3*Pi]*Erfi[Sqrt[3]*
Sqrt[ArcCosh[a*x]]])/(5*a^3)

Rule 5668

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_)*(x_)^(m_.), x_Symbol] :> Simp[(x^m*Sqrt[-1 + c*x]*Sqrt[1 + c*x]*(
a + b*ArcCosh[c*x])^(n + 1))/(b*c*(n + 1)), x] + (-Dist[(c*(m + 1))/(b*(n + 1)), Int[(x^(m + 1)*(a + b*ArcCosh
[c*x])^(n + 1))/(Sqrt[-1 + c*x]*Sqrt[1 + c*x]), x], x] + Dist[m/(b*c*(n + 1)), Int[(x^(m - 1)*(a + b*ArcCosh[c
*x])^(n + 1))/(Sqrt[-1 + c*x]*Sqrt[1 + c*x]), x], x]) /; FreeQ[{a, b, c}, x] && IGtQ[m, 0] && LtQ[n, -2]

Rule 5775

Int[(((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_)*((f_.)*(x_))^(m_.))/(Sqrt[(d1_) + (e1_.)*(x_)]*Sqrt[(d2_) + (e2_
.)*(x_)]), x_Symbol] :> Simp[((f*x)^m*(a + b*ArcCosh[c*x])^(n + 1))/(b*c*Sqrt[-(d1*d2)]*(n + 1)), x] - Dist[(f
*m)/(b*c*Sqrt[-(d1*d2)]*(n + 1)), Int[(f*x)^(m - 1)*(a + b*ArcCosh[c*x])^(n + 1), x], x] /; FreeQ[{a, b, c, d1
, e1, d2, e2, f, m}, x] && EqQ[e1 - c*d1, 0] && EqQ[e2 + c*d2, 0] && LtQ[n, -1] && GtQ[d1, 0] && LtQ[d2, 0]

Rule 5666

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_)*(x_)^(m_.), x_Symbol] :> Simp[(x^m*Sqrt[-1 + c*x]*Sqrt[1 + c*x]*(
a + b*ArcCosh[c*x])^(n + 1))/(b*c*(n + 1)), x] + Dist[1/(b*c^(m + 1)*(n + 1)), Subst[Int[ExpandTrigReduce[(a +
 b*x)^(n + 1)*Cosh[x]^(m - 1)*(m - (m + 1)*Cosh[x]^2), x], x], x, ArcCosh[c*x]], x] /; FreeQ[{a, b, c}, x] &&
IGtQ[m, 0] && GeQ[n, -2] && LtQ[n, -1]

Rule 3307

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + Pi*(k_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/(E^(
I*k*Pi)*E^(I*(e + f*x))), x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*k*Pi)*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d
, e, f, m}, x] && IntegerQ[2*k]

Rule 2180

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[F^(g*(e - (c*
f)/d) + (f*g*x^2)/d), x], x, Sqrt[c + d*x]], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 2204

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erfi[(c + d*x)*Rt[b*Log[F], 2
]])/(2*d*Rt[b*Log[F], 2]), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 2205

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erf[(c + d*x)*Rt[-(b*Log[F]),
 2]])/(2*d*Rt[-(b*Log[F]), 2]), x] /; FreeQ[{F, a, b, c, d}, x] && NegQ[b]

Rule 5656

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Simp[(Sqrt[-1 + c*x]*Sqrt[1 + c*x]*(a + b*ArcCosh[c
*x])^(n + 1))/(b*c*(n + 1)), x] - Dist[c/(b*(n + 1)), Int[(x*(a + b*ArcCosh[c*x])^(n + 1))/(Sqrt[-1 + c*x]*Sqr
t[1 + c*x]), x], x] /; FreeQ[{a, b, c}, x] && LtQ[n, -1]

Rule 5781

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_.)*((d1_) + (e1_.)*(x_))^(p_.)*((d2_) + (e2_.)*(x_))^(p_
.), x_Symbol] :> Dist[(-(d1*d2))^p/c^(m + 1), Subst[Int[(a + b*x)^n*Cosh[x]^m*Sinh[x]^(2*p + 1), x], x, ArcCos
h[c*x]], x] /; FreeQ[{a, b, c, d1, e1, d2, e2, n}, x] && EqQ[e1 - c*d1, 0] && EqQ[e2 + c*d2, 0] && IntegerQ[p
+ 1/2] && GtQ[p, -1] && IGtQ[m, 0] && (GtQ[d1, 0] && LtQ[d2, 0])

Rubi steps

\begin{align*} \int \frac{x^2}{\cosh ^{-1}(a x)^{7/2}} \, dx &=-\frac{2 x^2 \sqrt{-1+a x} \sqrt{1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}-\frac{4 \int \frac{x}{\sqrt{-1+a x} \sqrt{1+a x} \cosh ^{-1}(a x)^{5/2}} \, dx}{5 a}+\frac{1}{5} (6 a) \int \frac{x^3}{\sqrt{-1+a x} \sqrt{1+a x} \cosh ^{-1}(a x)^{5/2}} \, dx\\ &=-\frac{2 x^2 \sqrt{-1+a x} \sqrt{1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac{8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac{4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac{12}{5} \int \frac{x^2}{\cosh ^{-1}(a x)^{3/2}} \, dx-\frac{8 \int \frac{1}{\cosh ^{-1}(a x)^{3/2}} \, dx}{15 a^2}\\ &=-\frac{2 x^2 \sqrt{-1+a x} \sqrt{1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac{8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac{4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac{16 \sqrt{-1+a x} \sqrt{1+a x}}{15 a^3 \sqrt{\cosh ^{-1}(a x)}}-\frac{24 x^2 \sqrt{-1+a x} \sqrt{1+a x}}{5 a \sqrt{\cosh ^{-1}(a x)}}-\frac{24 \operatorname{Subst}\left (\int \left (-\frac{\cosh (x)}{4 \sqrt{x}}-\frac{3 \cosh (3 x)}{4 \sqrt{x}}\right ) \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}-\frac{16 \int \frac{x}{\sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}} \, dx}{15 a}\\ &=-\frac{2 x^2 \sqrt{-1+a x} \sqrt{1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac{8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac{4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac{16 \sqrt{-1+a x} \sqrt{1+a x}}{15 a^3 \sqrt{\cosh ^{-1}(a x)}}-\frac{24 x^2 \sqrt{-1+a x} \sqrt{1+a x}}{5 a \sqrt{\cosh ^{-1}(a x)}}-\frac{16 \operatorname{Subst}\left (\int \frac{\cosh (x)}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{15 a^3}+\frac{6 \operatorname{Subst}\left (\int \frac{\cosh (x)}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}+\frac{18 \operatorname{Subst}\left (\int \frac{\cosh (3 x)}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}\\ &=-\frac{2 x^2 \sqrt{-1+a x} \sqrt{1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac{8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac{4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac{16 \sqrt{-1+a x} \sqrt{1+a x}}{15 a^3 \sqrt{\cosh ^{-1}(a x)}}-\frac{24 x^2 \sqrt{-1+a x} \sqrt{1+a x}}{5 a \sqrt{\cosh ^{-1}(a x)}}-\frac{8 \operatorname{Subst}\left (\int \frac{e^{-x}}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{15 a^3}-\frac{8 \operatorname{Subst}\left (\int \frac{e^x}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{15 a^3}+\frac{3 \operatorname{Subst}\left (\int \frac{e^{-x}}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}+\frac{3 \operatorname{Subst}\left (\int \frac{e^x}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}+\frac{9 \operatorname{Subst}\left (\int \frac{e^{-3 x}}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}+\frac{9 \operatorname{Subst}\left (\int \frac{e^{3 x}}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}\\ &=-\frac{2 x^2 \sqrt{-1+a x} \sqrt{1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac{8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac{4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac{16 \sqrt{-1+a x} \sqrt{1+a x}}{15 a^3 \sqrt{\cosh ^{-1}(a x)}}-\frac{24 x^2 \sqrt{-1+a x} \sqrt{1+a x}}{5 a \sqrt{\cosh ^{-1}(a x)}}-\frac{16 \operatorname{Subst}\left (\int e^{-x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{15 a^3}-\frac{16 \operatorname{Subst}\left (\int e^{x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac{6 \operatorname{Subst}\left (\int e^{-x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac{6 \operatorname{Subst}\left (\int e^{x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac{18 \operatorname{Subst}\left (\int e^{-3 x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac{18 \operatorname{Subst}\left (\int e^{3 x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{5 a^3}\\ &=-\frac{2 x^2 \sqrt{-1+a x} \sqrt{1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac{8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac{4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac{16 \sqrt{-1+a x} \sqrt{1+a x}}{15 a^3 \sqrt{\cosh ^{-1}(a x)}}-\frac{24 x^2 \sqrt{-1+a x} \sqrt{1+a x}}{5 a \sqrt{\cosh ^{-1}(a x)}}+\frac{\sqrt{\pi } \text{erf}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac{3 \sqrt{3 \pi } \text{erf}\left (\sqrt{3} \sqrt{\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac{\sqrt{\pi } \text{erfi}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac{3 \sqrt{3 \pi } \text{erfi}\left (\sqrt{3} \sqrt{\cosh ^{-1}(a x)}\right )}{5 a^3}\\ \end{align*}

Mathematica [A]  time = 0.795736, size = 286, normalized size = 1.21 \[ \frac{e^{-3 \cosh ^{-1}(a x)} \left (-e^{2 \cosh ^{-1}(a x)} \left (-2 e^{\cosh ^{-1}(a x)} \left (-\cosh ^{-1}(a x)\right )^{5/2} \text{Gamma}\left (\frac{1}{2},-\cosh ^{-1}(a x)\right )+2 e^{\cosh ^{-1}(a x)} \cosh ^{-1}(a x)^{5/2} \text{Gamma}\left (\frac{1}{2},\cosh ^{-1}(a x)\right )+2 e^{2 \cosh ^{-1}(a x)} \cosh ^{-1}(a x)^2-2 \cosh ^{-1}(a x)^2+3 \sqrt{\frac{a x-1}{a x+1}} (a x+1) e^{\cosh ^{-1}(a x)}+e^{2 \cosh ^{-1}(a x)} \cosh ^{-1}(a x)+\cosh ^{-1}(a x)\right )-3 \left (-6 \sqrt{3} e^{3 \cosh ^{-1}(a x)} \left (-\cosh ^{-1}(a x)\right )^{5/2} \text{Gamma}\left (\frac{1}{2},-3 \cosh ^{-1}(a x)\right )+6 \sqrt{3} e^{3 \cosh ^{-1}(a x)} \cosh ^{-1}(a x)^{5/2} \text{Gamma}\left (\frac{1}{2},3 \cosh ^{-1}(a x)\right )+6 e^{6 \cosh ^{-1}(a x)} \cosh ^{-1}(a x)^2-6 \cosh ^{-1}(a x)^2+e^{6 \cosh ^{-1}(a x)} \cosh ^{-1}(a x)+\cosh ^{-1}(a x)+e^{3 \cosh ^{-1}(a x)} \sinh \left (3 \cosh ^{-1}(a x)\right )\right )\right )}{30 a^3 \cosh ^{-1}(a x)^{5/2}} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[x^2/ArcCosh[a*x]^(7/2),x]

[Out]

(-(E^(2*ArcCosh[a*x])*(3*E^ArcCosh[a*x]*Sqrt[(-1 + a*x)/(1 + a*x)]*(1 + a*x) + ArcCosh[a*x] + E^(2*ArcCosh[a*x
])*ArcCosh[a*x] - 2*ArcCosh[a*x]^2 + 2*E^(2*ArcCosh[a*x])*ArcCosh[a*x]^2 - 2*E^ArcCosh[a*x]*(-ArcCosh[a*x])^(5
/2)*Gamma[1/2, -ArcCosh[a*x]] + 2*E^ArcCosh[a*x]*ArcCosh[a*x]^(5/2)*Gamma[1/2, ArcCosh[a*x]])) - 3*(ArcCosh[a*
x] + E^(6*ArcCosh[a*x])*ArcCosh[a*x] - 6*ArcCosh[a*x]^2 + 6*E^(6*ArcCosh[a*x])*ArcCosh[a*x]^2 - 6*Sqrt[3]*E^(3
*ArcCosh[a*x])*(-ArcCosh[a*x])^(5/2)*Gamma[1/2, -3*ArcCosh[a*x]] + 6*Sqrt[3]*E^(3*ArcCosh[a*x])*ArcCosh[a*x]^(
5/2)*Gamma[1/2, 3*ArcCosh[a*x]] + E^(3*ArcCosh[a*x])*Sinh[3*ArcCosh[a*x]]))/(30*a^3*E^(3*ArcCosh[a*x])*ArcCosh
[a*x]^(5/2))

________________________________________________________________________________________

Maple [F]  time = 0.086, size = 0, normalized size = 0. \begin{align*} \int{{x}^{2} \left ({\rm arccosh} \left (ax\right ) \right ) ^{-{\frac{7}{2}}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/arccosh(a*x)^(7/2),x)

[Out]

int(x^2/arccosh(a*x)^(7/2),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\operatorname{arcosh}\left (a x\right )^{\frac{7}{2}}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/arccosh(a*x)^(7/2),x, algorithm="maxima")

[Out]

integrate(x^2/arccosh(a*x)^(7/2), x)

________________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/arccosh(a*x)^(7/2),x, algorithm="fricas")

[Out]

Exception raised: UnboundLocalError

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2/acosh(a*x)**(7/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{0} x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/arccosh(a*x)^(7/2),x, algorithm="giac")

[Out]

sage0*x